<div id = "hangxe" align="center">
	<form action="index.php?module=hang&action=list" method="post">
		<table border="1">
			<tr>
				<td>STT</td>
				<td>Ten hang</td>
				<td>Del</td>
				<td>Edit</td>
			</tr>
			<?php
				$stt = 0;
				foreach ($data as $row){
					$stt++;
					echo "<tr>";
						echo "<td>".$stt."</td>";
						echo "<td>".$row["tenhang"]."</td>";
						echo "<td><a href='index.php?module=hang&action=del&id=$row[hang_id]'>Del</a></td>";
						echo "<td><a href='index.php?module=hang&action=edit&id=$row[hang_id]'>Edit</a></td>";
					echo "</tr>";
				}
			?>
			<tr>
				<td colspan="4"><a href="index.php?module=hang&action=add">Add</a></td>
			</tr>
		</table>
	</form>
</div>